# -*- encoding: utf-8 -*-
require File.expand_path("../lib/sparkle/version", __FILE__)

Gem::Specification.new do |s|
  s.name        = "sparkle"
  s.version     = Sparkle::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Evan Petrie"]
  s.email       = ["ejp@yahoo.com"]
  s.homepage    = "http://rubygems.org/gems/sparkle"
  s.summary     = "Asyncronous partial caching"
  s.description = "Cache partials and update them asynchronously after a page renders. Slow method calls happen synchronously as the page renders for the first time. Subsequent page loads retrieve cached objects and render the page quickly, and then Ajax calls can be used to refresh components asynchronously after the page loads."

  s.required_rubygems_version = ">= 1.3.6"
  s.rubyforge_project         = "sparkle"

  s.add_development_dependency "bundler", ">= 1.0.0"
  s.add_development_dependency "rake", "0.8.7"
  s.add_development_dependency "flexmock", "0.8.11"
  s.add_development_dependency "activesupport", "2.3.11"

  s.files        = `git ls-files`.split("\n")
  s.executables  = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
  s.require_path = 'lib'
end
